#include "manager.h"

Manager::Manager(int id, string name, int dId)
{
    m_Id = id;
    m_Name = name;
    m_DeptId = dId;
}

void Manager::showInfo()
{
    cout << "职工编号: " << m_Id
         << "\t职工姓名: " << m_Name
         << "\t部门: " << getDeptName()
         << "\t岗位职责: 完成老板交给的任务." 
         << endl;
}

string Manager::getDeptName()
{
    return string("经理");
}